﻿using Zhp.Model.Formula;

namespace Zhp.IService.Formula
{
    public interface IFormulaVariableService
    {
        public Task<List<FormulaVariableModel>> Query(FormulaVariableSearch search);
        public Task<bool> Create(FormulaVariableEdit p);
        public Task<bool> Update(FormulaVariableEdit p);
        public Task<bool> Delete(long id);
        public Task<List<FormulaVariableList>> QueryFormulaVariable();
        public Task<List<FormulaVariableSelect>> QueryVariableClass();
        public Task<List<FormulaVariableSelect>> QueryVariable(string variableClass);
        public Type GetVariableClassType(string variableClass);
    }
}
